﻿using SqlSugar;

namespace MyCompany.MyProject.Model.Logs;

/// <summary>
/// 全局异常日志
/// </summary>
[Tenant("log")]
[SplitTable(SplitType.Month)]
[SugarTable($@"{nameof(GlobalErrorLog)}_{{year}}_{{month}}_{{day}}")]
public class GlobalErrorLog:BaseLog
{
    /// <summary>
    /// 异常信息
    /// </summary>
    [SugarColumn(ColumnDataType ="longtext,text,clob")]
    public string? Exception { get; set; }
}
